<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>demo by hans</title>
  <style>
    #canvas {
      border: 1px solid #eee;
    }
  </style>
</head>

<body>
  <canvas id="canvas" width="800" height="400"></canvas>
</body>
<script src="./js/scene.js"></script>
<script src="./js/chunk.js"></script>
<script src="./js/tile.js"></script>
<script src="./js/ball.js"></script>
<script>
  let ctx = canvas.getContext('2d');
  ctx.font = "20px Georgia";
  let WIDTH = 800, HEIGHT = 400;
  let scene = new Scene({ ctx, HEIGHT, WIDTH });
  scene.init();

</script>
</html>